RichTextKit v0.4

RunExtensions.CheckValid<T> Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Utils
Declaring Type: RunExtensions

Overloads

CheckValid<T>(this IReadOnlyList<T>)

Check that a list of runs is valid

CheckValid<T>(this IReadOnlyList<T>, int)

Check that a list of runs is valid

CheckValid<T>(this IReadOnlyList<T>)

Check that a list of runs is valid

public static void CheckValid<T>(this IReadOnlyList<T> list);

Type Parameters

T

The element type

Parameters

this IReadOnlyList<T> list

The list to be checked

CheckValid<T>(this IReadOnlyList<T>, int)

Check that a list of runs is valid

public static void CheckValid<T>(this IReadOnlyList<T> list, int totalLength);

Type Parameters

T

The element type

Parameters

this IReadOnlyList<T> list

The list to be checked

int totalLength

The expected total length of the list of runs